<template>
  <div class="recharge">
    <div class="head">
      <mt-header :title="title">
        <router-link to="/" slot="left">
          <mt-button icon="back"></mt-button>
        </router-link>
      </mt-header>
    </div>
    <div class="content">
        <ul>
            <li class="yu">
                <span>账户余额：</span><span>2900.00</span>
            </li>
            <li class="yu">
                <input type="text" placeholder="请输入充值金额">
            </li>
        </ul>
        <div class="type">
            <h3>请选择充值方式</h3>
            <ul>
                <li class=" clearfix">
                    <span class="fl"><img src="../assets/zhi_03.png" alt=""></span>
                    <span class="fl">支付宝</span>
                    <span class="circle fr"  v-if="sect1"></span>
                    <span class="fr" v-else><img src="../assets/select.png" alt=""></span>
                </li>
                <li class="mon clearfix">
                    <span class="fl"><img src="../assets/wei_06.png" alt=""></span>
                    <span class="fl">微信</span>
                    <span class="circle fr" v-if="sect2"></span>
                    <span class="fr" v-else><img src="../assets/select.png" alt=""></span>
                </li>
                <li class=" clearfix">
                    <span class="fl"><img src="../assets/yin_08.png" alt=""></span>
                    <span class="fl">银联支付</span>
                    <span class="circle fr" v-if="sect3"></span>
                    <span class="fr" v-else><img src="../assets/select.png" alt=""></span>
                </li>
            </ul>
        </div>
    </div>
    <div class="btn">
        提交
    </div>
  </div>
</template>

<script>
export default {
  name: "recharge",
  data() {
    return {
      title: "充值",
      sect1:false,
      sect2:false,
      sect3:true,

    };
  }
};
</script>

<style lang="less" scoped>
@family:AlibabaPuHuiTiR;
.recharge {
  width: 100%;
  font-size: 0;
  background: #f8f8f8;
  position: relative;
  height: 13.34rem;
  .mint-header {
    background-color: #fff;
    color: rgb(49, 49, 49);
    font-family: AdobeHeitiStd-Regular;
    font-size: 0.3rem;
    height: 1rem;
  }
  .content{
      margin-top:0.2rem;
      width: 100%;
      background-color: #fff;
      
      ul{
          li.yu{
              padding: 0 0.2rem;
              box-sizing: border-box;
              height: 0.95rem;
              line-height: 0.95rem;
              font-size: 0.26rem;
              font-family: @family;
              color:rgb(51,51,51);
              border-bottom: 1px solid rgb(198,198,198);
              input{
                  background-color: transparent;
                  width: 100%;
                  height: 90%;
                  &::placeholder{
                      font-size: 0.26rem;
                  }
              }

          }
      }
      .type{
          width: 100%;
          margin-top:0.7rem;
          padding: 0 0.2rem;
          box-sizing: border-box;
          margin-bottom: 0.3rem;
          h3{
               font-size: 0.26rem;
              font-family: @family;
              color:rgb(51,51,51);
          }
          li{
              height: 0.8rem;
              line-height: 0.8rem;
              margin-bottom: 0.1rem;
              span{
                  display: inline-block;
                 
                  &:nth-child(1){
                       width: 0.42rem;
                    height: 0.42rem;
                    margin-right:0.15rem;
                    
                        font-family: @family;
                        color:rgb(51,51,51);
                    img{
                        width: 100%;
                    }
                  }
                   &:nth-child(2){
                       font-size: 0.26rem;
                   }
                   &.circle{
                       width: 0.32rem;
                       height: 0.32rem;
                       border-radius: 50%;
                       border: 1px solid #cfcfcf;
                       margin-top:6px;
                       &.active{

                       }
                   }
                   &.fr{
                       width: 0.32rem;
                       height: 0.32rem;
                        border-radius: 50%;
                    //    overflow: hidden;
                       img{
                           width: 100%;
                           vertical-align: 2px;
                       }
                   }
                   
              }
              &.mon{
                       border-top: 2px solid #f8f8f8;
                       border-bottom: 2px solid #f8f8f8;
                   }
              
          }
      }
  }
  .btn{
      width: 100%;
      height: 0.98rem;
      line-height: 0.98rem;
      color:#fff;
      font-family: @family;
      font-size: 0.3rem;
      text-align: center;
      background-color: #ef1913;
      position: absolute;
      left:0;
      bottom: 0;
  }
}
</style>